import React from "react";
import { useRoutes } from "react-router-dom";
import routes from "./routes";
const App = () => {
  const Element = () => useRoutes(routes);
  return (
    <div>
      <Element></Element>
    </div>
  );
};

export default App;
